import bus from './index'

export const replace = (eventName: string, handler: any) => {
  bus.off(eventName)
  bus.on(eventName, handler)
}
